#ifndef _RENDER_SYS_H
#define _RENDER_SYS_H

#include "common.h"

class City;
class Map;
class Camera;
class Gui;

class RenderSys
{
    public:
    RenderSys();

    sf::RenderWindow* init();
    void eventHandle(sf::Event event);
    void update(double dt);
    void render(Gui* gui, City* city);

    Camera* getCamera(){return camera;}

    private:
    sf::RenderWindow window;

    void drawTiles(Map* map);
    void drawBuildables(City* city);

    // Subsytems
    Camera* camera;
};

#endif
